package com.pro.service.imple;

import com.pro.mapper.commentStatisticsMapper;
import com.pro.service.commentStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName:commentStatisticsServiceImple
 * Package:com.pro.service.imple
 * Description:
 *
 * @Date:2022/2/2 17:45
 * @Author: XJR
 */
@Service
public class commentStatisticsServiceImple implements commentStatisticsService {

    @Autowired
    private commentStatisticsMapper mapper;

    //查看商品、视频、微圈评论总数
    public Integer countBeforeAll(Integer type,Integer userType){
        Integer integer = mapper.countBeforeAll(type, userType);
        return integer;
    };

}
